const obj = {
  a: '',
  b: '',
  c: 'wz'
}
const obj1 = {}
for (const i in obj) {
  // console.log(i)

  if (obj[i] !== '') {
    obj1[i] = obj[i]
  }
}
console.log(obj1)
